add edit page content fn