upgrade trilead lib