Fix db urls