Updating record from cursor oracle