updating docs for java