update sentence class