new sql that updates doc file name