Added join for update