update multiple records using cursor for