new changes for database