fix #49 adjust location update rules