css update for legens