change style for document