Update __init__.py

some changed details for function index()