added cron task to update trends. aded column to save trends order