Updated the database: primary keys, additional columns