update documentation + small fixes