Update indexes for storing appdate instead of times