update style and date.