update so library code