update tb1 set a1=(select max(b1) from tb2 where a1=b2)