Only update sidebar if less than the character limit