udpate library