implemented get the latest and earliest measurement value, update SPA
to display these info