updates abstract class