Update database with temperature.