updated pypi secure code