fixes double-typo on update method and corresponding test :/