The deal will keep him in purple-and-gold through at least the 2022-23 season.