update code editor