edit working

add a update form, make it work