update makefile and dev mode