@lock entity num in layer when update