Update pre and code color