Added in upsert user_hashes method in db.js.
Signed-off-by: bornreddy <marisa.reddy@gmail.com>