add update.py for use as a cronjob