added edit form and routes