Add find_up_cat and for update nowait to format_sql_block