update main container