changes for database