move the intersection method to update

so that everyone can see it