updating weather info on the fly and updates regularly, as well as the predictions, and also api that gives warning accordingly