updated dispose event for player