modifies env var for db