Updating error handling and cron refreshing