Help Pls, no data update in dashboard MKR1010

There is no data update in my dashboard. The code is simple and just measure the temperature and pass it to the dashboard. I can see the data in the monitor but the dashboard doesn't update it.

#define temp_pin A0
#include "thingProperties.h"
#include <ArduinoIoTCloud.h>
#include <Arduino_ConnectionHandler.h>
void setup() {
setDebugMessageLevel(2);
Serial.begin(9600);
delay(1500);
initProperties();
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
ArduinoCloud.printDebugInfo();
}

void loop() {
ArduinoCloud.update();
temperature = detect_temp();
Serial.println(temperature);
delay(1000);
}

int detect_temp(){
uint16_t val;
int dat;
val=analogRead(temp_pin);//Connect LM35 on Analog 0
dat = (int) val * (5/10.24);
return dat;
}

The code above is the .ino

#include <ArduinoIoTCloud.h>
#include <Arduino_ConnectionHandler.h>

const char THING_ID[] = "fdfcf291-3754-40c3-8d71-113b6bef673e";

const char SSID[] = SECRET_SSID; // Network SSID (name)
const char PASS[] = SECRET_PASS; // Network password (use for WPA, or use as key for WEP)

int temperature;

void initProperties(){

ArduinoCloud.setThingId(THING_ID);
ArduinoCloud.addProperty(temperature, READ, ON_CHANGE, NULL);

}

WiFiConnectionHandler ArduinoIoTPreferredConnection(SSID, PASS);

The code above is the thingproperties.h