To merge changes for state preservation