update lab.version.js only when needed

[#57388300]