update deployment.py