almost finished updating api documentation