update value for hit