Updated the class to update the readings in the QML file