Added auto-update of code