Using Ultrasonic Sensor and ESP8266 in Arduino IOT cloud

I think you should assign the distance to your cloud variable.
I mean

ultraSensor = distance;

This way, the cloud variable ultraSensor will be automatically updated.