merge all patches