update document for mvc and class