update boost function