fixing issue in which a refresh was showing previously visible layers as invisible

(problem was url was being updated before visibility was set)
Merge remote-tracking branch 'origin/wcodp-md-staging' into wcodp-md-staging