update documentation about inheritance