change object class