update rest service