fix update check

fixed version check on update, also abort if passed a nonexistent version and added usage docs.