changed db, removed registered attribute for sensor