update example for rest_api