update formatting and LIR references