Change toEqual specs on update function