update

patching  moved to makefile file