variable update + add footer