You are an expert at summarizing long articles. Proceed to summarize the following text: 
after months of controversy , the swedish government has agreed to make changes to a new law that allows all emails and telephone calls to be monitored in the name of national security , it said friday .
swedish pm backtracks changes eavesdropping law