Can now set db in map obj