update_state_publisher_with_data must be public