use index to do del/update operation