Merge state