fixed updating of deployment code