make table fit new database schema