update task description for leading and trailing spaces