Update code editor