before refactor automatic weather update working