update the weather api