cleanup two value library
fix update