Update code errors