You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: oauth_clients_controller.rb
    path of file: ./repos/openproject/modules/storages/app/controllers/storages/admin
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2024 the OpenProject GmbH
#
# This program is free software; you can redistribute i
    
  def update
    call_oauth_clients_create_service

    service_result.on_failure do
      respond_to do |format|
        format.turbo_stream { render :new }
      end
    end

    service_result.on_success do
      respond_to do |format|
        format.turbo_stream
      end
    end
  end