update formula parsing for bricks and update influenced tests