How to lambda auto update when layer update

hi

I am using aws layer and lambda.
Lambda refers to layer.

Let’s make a assumption
The layer version is 1, and Lambda refers to this version.
If I update the layer to 2, lambda keeps referring to the previous version, is there a way to force this to update?

thank you