Update java files