updated weather api object calling