update deployment code