upgrade optimization library