update the constructor
java file P3 update
gradle file update