Change entity state