Update patch avoiding git commands