updated documenation to reflect latest api changes