Database schema updates and migration