code: public Observable<MediaServiceInner> updateAsync(String resourceGroupName, String mediaServiceName, MediaServiceInner parameters) {
          return updateWithServiceResponseAsync(resourceGroupName, mediaServiceName, parameters).map(new Func1<ServiceResponse<MediaServiceInner>, MediaServiceInner>() {
              @Override
              public MediaServiceInner call(ServiceResponse<MediaServiceInner> response) {
                  return response.body();
              }
          });
      }
docs: Updates a Media Service.
  
  @param resourceGroupName Name of the resource group within the Azure subscription.
  @param mediaServiceName Name of the Media Service.
  @param parameters Media Service properties needed for update.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the MediaServiceInner object