modify index and poker game