update to load db from env