update environment.hpp