migrate hash.