Chef cookbook version

I run a cookbook on my node. On chef automate it’s showing updated version of cookbook but on node it’s still showing older version. What could be the reason? How to figure it out?

Are you using a version lock someplace, such as a policy file or specifying a specific version of the cookbook as a dependency in a metadata.rb that's calling it?

Thanks for your response. I specify the version in default.rb file. Weird thing is it’s on chef automate when I check my node it’s showing updated version but on node it’s not