private void actionUpdate(HttpServletRequest request, RequestData rd, Class clazz){
        try{
            helper.update(clazz, rd.id, request.getParameterMap());
        }
        catch (RuntimeException ex){
            request.setAttribute("error", ex.getMessage());
        }

    }