Update to fit new db schema.