Updates databases