Update proximity.c