update things that depend on the the new database schema