Update model.java