update makefile and add updater