Add hfind option to add a new hash to an updateable db/index.
Check if updateable before adding a new hash. Also don't assume that the index is already set up--there is still something wrong with this however.