update eventDetail's head and footer