updates for snapping tool