Modified index conditional write