update rest text