The social media company says the changes were in the works before Cambridge Analytica made the headlines.