update history
some code clean up in compileBlockBegin()