Update index scripts for MySQL