Updating the environment