update lib file