update md5 and sha1