-Corrected logic for update climate

-left to be solved: bug in createClimate