renamed update to setMerge