update handling string full of spaces