Set charset on update