added cron to update schema