code: public static Result update(Long id) {
          Form<Computer> computerForm = form(Computer.class).bindFromRequest();
          if(computerForm.hasErrors()) {
              return badRequest(editForm.render(id, computerForm));
          }
          computerForm.get().update(id);
          flash("success", "Computer " + computerForm.get().name + " has been updated");
          return GO_HOME;
      }
docs: Handle the 'edit form' submission
  
  @param id Id of the computer to edit