lbp code updated