Add events for insert, update and delete