modify common lib files