Added index updating after drag and drops