address lone comment
refactored label refresh code to be simpler