change index and vp