Apparently OS X does not have an updatedb command like linux has, so I was stumped on how to update the locate database.

I have quickly added this command here, in case I need to use it again.

sudo /usr/libexec/locate.updatedb