Added check for update

file will now check against server for updates and download if need be