Updating sidebar to get rid of cookie code