updaste the basic layout and footer