modify lib files