update for sidebar showing