Fixed bug where having nothing to update would blow up API, and added API logging for errors