Change algorithm convert word to upper case format