continuing work on update method