Update join.sql