update index sh script