modify lib file