adds patch for collection and instance
adds patch for collection and instance