updated get env