Update sidebar only if visiable