update class to own requirements