Merge pull request #32 from fengjingchao/inst

add check before increment counts and add test for preaccept ok
bug fixes on seq update.