Update AbstractModel.java