Update environments config