wrote url repair methods and updated mongo db