update footer encode