update apidocs to work with recent changes