updated first and second sections of the page