updating deploy, setting environment