merge collected changes.