Full support for dependency-based event application
Update state hash when applying events