fixed api save function
Merge branch 'master' of github.com:crodenkirch19/CS407