Correct connection and update Razor