update deletefile request code