updated from md5 to sha1