needed to change table creation query and update the database version