fixed cron script fo DB updating bugs
Merge remote branch 'origin/master'