deal with updated database schema