update the picksample.py app(add save/read the deleting index function)