Update the security details by cron job function.