update index and other public files