Is there any way to make lerp work consistantly in update? C#

So I need to move an object in update with the smoothing out that lerp provides but if I run it in update I get different speeds depending on the framerate. Is there any way of avoiding that while still keeping the smoothing out in the end?

Edit: Wow I figured out that the problem was not in the Lerp part of my script but in the SmoothDamp part, I am so sorry for posting this question before doing more research myself.

Base it on the amount of time elapsed in each frame, as shown in the example code for Vector3.Lerp.