U.S. Customs and Border Patrol agents need to have "reasonable suspicion" to carry out "advanced" searches on electronic devices, including smartphones and tablets, that belong to individuals entering or exiting the country, the agency announced Friday. The updated rules allow agents to continue to inspect information that's stored on a device, not in the cloud. But from now on, they can't copy that information or connect to an external device to analyze the contents, unless they have reasonable suspicion of criminal behavior. "In this digital age, border searches of electronic devices are essential to enforcing the law at the U.S. border and to protecting the American people," John Wagner, Deputy Executive Assistant Commissioner, Office of Field Operations, said in a statement. "CBP's authority for the border search of electronic devices is and will continue to be exercised judiciously, responsibly, and consistent with the public trust," he added. The new directiveinstructs agents to demonstrate reasonable suspicion of unlawful activity or show that there is a "national security concern" in order to conduct advanced searches. CBP agents inspected 30,200 phones and other devices during the last fiscal year. That's a jump of more than 60 percent from 2016. Officials stress that those searches represent just a tiny fraction of all arriving international travelers — .007 percent. And that they're necessary to combat terrorism, child pornography and other crimes. "CBP border searches of electronic devices have resulted in evidence helpful in combating terrorist activity, child pornography, violations of export controls, intellectual property rights violations, and visa fraud," the agency said in a statement. The change in guidelines marks a shift from 2009 Obama-era policy. The ACLU called that an improvement, but said the government shouldn't be able to search devices without a warrant. In a statement, ACLU legislative counsel Neema Singh Guliani, said: