update add geofence form and fix bugs