added attr_accessible access_state_event