adds self-update command