add env in update