updated a bunch of functions in docs