update docs to include extend