Update strings,and delete useless string.