Added Update to classes/Dog.java