add ping operation to index.