update the frame of index.html