rename id to hash