udpate an db_base