update md5 hashing function, clean up calls to it