modify package event method