Changing serialized provider to only save if changes have been made