update of database