adjusting sidebar count update