update

move patching to makefile