docs: @RequestMapping(value = "/api/scripts/{scriptIdentifier}", method = RequestMethod.POST)
      public
      @ResponseBody
      Script updateScript(Model model, @PathVariable String scriptIdentifier,
                          @RequestParam(required = false) String name,
                          @RequestParam(required = false) String script) throws Exception {
          int scriptId = Integer.parseInt(scriptIdentifier);
  
          if (name != null) {
              ScriptService.getInstance().updateName(scriptId, name);
          }
  
          if (script != null) {
              ScriptService.getInstance().updateScript(scriptId, script);
          }
  
          return ScriptService.getInstance().getScript(scriptId);
      }