Adding automatic hash update in.