add cron function
add regular sync between dbs