update documentation, make modifications