Update build_index.py