Add event for ping