updated javadoc to v2.0