update DB and data for DB