Fixed Makefile so that it actually does the updates correctly