Update ID to hash