Enhance ping API