update to the new db