set entity state added