correct type fotr task 10 before update