updating patch files