Update Java files and documentation