Update createPatchDict