update option added, makefile written