update upload & index