update document (syntax highlighting)