write only attributes with option persistent: true