added notification when a record is destroyed
updated index definition