add update and fix typo