update md5 to sha1