Pl sql updating tables from another table