update definition of env_rs