add error checking for no update version
refactor
less verbose output
add extra flags