How to update records without invalidating cursor oracle