made dev mode use live db