49ers' Brock Purdy uses internal motivation to maintain edge