updates database setup