update log and add supplier_category