Content updates and trailing whitespace removal