ome fixes
Fix register tag name into agnt table
Fix agent change entity without chnage device_id