def update(self, id): notification = Notification.getById(id) notification.active = "N" notification.update() return "Update"