update ReverseWordsInAString