updatedb is a program used by the locate and slocate programs, for finding files on your disk. It's probably scheduled to run periodically, to keep up-to-date with any new files on your disks, so it's nothing to worry about. Clicking, though? That could be bad
A clicking noise with hard drives often means they're about to die (though I have some drives that have been clicking for years and still work fine).