update wrapper and undo formating