fleshing out selfupdate code and syncing travis output to work with it