What version of Raspbian (assuming you are using Raspbian) are you using. Jessie and Stretch use systemd so I don’t know whether update-rc.d will work. You may have to write a systemd script to get it going, if you can’t find an example anywhere.
I notice there is a response near the end of the comments on the tutorial making the same point about it not working on Jessie.