move softwareupdate from alias to function