Editing a sensor