update rest action.