def update
      @script_licence.user_id = current_user.id
      @script_licence.org_id = current_user.org_id
      if @script_licence.update(script_licence_params)
        redirect_to script_licences_url, notice: 'Licence was successfully updated.'
        else
          render :edit
      end
    end
def update
      @script_licence.user_id = current_user.id
      @script_licence.org_id = current_user.org_id
      if @script_licence.update(script_licence_params)
        redirect_to script_licences_url, notice: 'Licence was successfully updated.'
        else
          render :edit
      end
    end
PATCH/PUT - Script Licences