Update the abstract method of class