edit/delete implemented for simple virtual sensors
merge with normans code