Anderson's contract extended until 2022