implement merge with existing items where they are present