President William Ruto has revealed that retired President Uhuru Kenyatta advised him to modernise the security agencies.