update classnames