small updates to attribute cache in evaluation context