update library directory