update footer distance