added selfupdate to CLI