Update weather code