Foliage is moving but shadows stay static

I’m complete noob to unreal and doing some foliage but shadows are not dynamic. I’m using a directional light which is set to movable. Am I missing anything here?

i am having the same problem right now. Would love to get some help

use this command : r.RayTracing.Geometry.InstancedStaticMeshes.EvaluateWPO 1