Moved updateState to Application.Controller module.