update b set (b1,b2,b3) = (select a1,a2,a3 from a where b.b4 = a.a4)
where exists(select 1 from a where b.b4 = a.a4)