update sentence