Add self-update command, fix #6