Update hash on search

Working very well.