remove whitespace from input textarea
update event