update library file