update the char case