auto leveling not working ender 3 V2

I did an upgrade auto leveling sensor for the ender 3 V2, but despite following everything I can’t get it to work. The level option is present and during startup the pin of the sensor goes up and down a few times, but when I click on the level the printer goes to a certain point but the pin of the sensor stays in and doesn’t go any further. What am I doing wrong.