Adds debugging for updatecheck