hash code update