fixing javadoc comments and fixing table updating