updated docs according to api changes