refactor db env name