update patches to latest git master HEAD