added editing of the main content