update style and add footer