update sidebar's style