fix update library