Replace line