Replace existing hash