move updatecheck to update.py