Add persist resource attribute