adding delete and add events