complete edit and new service_type functionality