WIP #882 Add more hooks v2

PMDataHandler::insert_event();
PMDataHandler::update_event();