upgraded references and conditional_styles