updated the database schema