use correct databse url