renamed updateweather to update and got rid of updateflag