Update proximity.js