added priorities to refresh state

...erride a higher priority one.