update footer to correct position