added update of sites with sidebar.
removed syntax error.