update pre-formatting steps