update b_detail