change db to url connect