update code color