Bash script self-updates from github

Building a private cloud solution for a customer, some scripts that we inject into cloud images quickly get out-dated by the time we actually wanna spin up instances. Why not create bash scripts that know how to get themselves updated from github (self modifying bash code?). I did just that