update edit page
admin mode added
create working edit page