fix typo and update example