Method to save links