update for charset