update indexbuffer