added frameworkdispatcher to update before calling gamehascontrol
moved frameworkdispatcher.update to beforeupdate
Revert "moved frameworkdispatcher.update to beforeupdate"

This reverts commit 7f2d33e1c821c488d09229ee908d8492cf29a9ae.
moved frameworkdispatcher.update to beforeupdate
Merge pull request #4 from kktseng/kktest

added frameworkdispatcher to update before calling gamehascontrol