fix typo in upgrading