add delegate for content changes and removeObjectAtIndexPath: method