update modified homepage and add editpage