You can also try this code:
Update table1 set facilityID =
(select a.facilityID FROM table2 a, table3 b
WHERE a.name =b.PROV_ORG_NAME LIMIT 0,1)
Well, also your entire query needed to be rethink-ed. i can guess you might needed to make a function to solve the issue.