create log index update script