Update generate-patches.js script
update patches to 5af5dc9e36a311e6c85ddbeb88c9814bafbbfbbb