Renamed execute method to update in State class.
Merge pull request #1958 from davebaol/ai

Renamed execute method to update in State class.