updated hash to use MD5