update styles for codemirror