Saving changes to psmetadata.