updates on the database