hit detection update