Updates to db.