to update the locate db –>
/usr/libexec/locate.updatedb

to add this on a daily update –>
crontab -e
* 0 * * * /usr/libexec/locate.updatedb