updated element class