Update patch.

Now we handle up to 10 session.

close #11