update theme index