update of db