add hash register