Fleck agrees to extension through 2023