clear attribute cache when persisted