update setTemp* as well