Update secure.py