fold self-update script into cron-update to make things simpler