index updated to task