Update environments