Update AjaxFlagAction: custom integer keys for data attribute