Change ping method