fix errors in edit page
add pics upload ability