only update and add to a collection if the child belongs to it