update xline, ray selection, intersection