update 3 java files