changes for db