Could you change `setOldAttribute()` similarly? Thanks.