Hash function update. Commented