replace install procedure