Merging and updating