modified the FRM for group and meter to send ref to plugin for events