change index to app