add some updates for md5 api