Update api errors