update for drawHitFunc