Update referenced duplicate rows in Oracle