updates main content