clean code for editing collections now collections are updating perfectly .... In previous code I was first destroying collection product entries for certain code and then creating new one but now they are updating