update HIT creation code