update day&night style