update environment file