modify lib reference