update write to file. Makefile worked