updated weather code