fix typo in .update