added parameter in the metrics fxn to add the item to their database if ...

...not found