if (err || !oldRecord) {
                return res.status(404).render("Error", {
                    title: i18n.gettext("Not found."),
                });
            }