change index style and add modify tips' function