table updates added to cronjob