replace libs