update click smbox algorithm