fix upgrading python package