doc updates and generate API docs