Update join-dt.r