correcting typo in update function note