Update whitespace trimming