I haven’t use that method, but I would recommend doing a clean an baking again, as if your image is already baked it’s very likely that it won’t rebuild because of this change, as Yocto is not good at keeping track of changes in the code, because it’s focused on distribution and customization rather than development.

If you would like to place a certain file on your image you may find the following document useful: