rename compile_context to _compile_context in BaseQuery

fix bug for Update
Merge pull request #6 from yeyuexia/fix/bug

fix bugs