modify upload page and edit page