fixing typo in update