Added update event
Use dispatch pattern