refactor set_philotic_event_attribute