fixed document update charset