update nearby status function