Update UI. Debug JSON, add check for failure