updated database schema and data