regenerate unique hash