add edit/update routes/methods, edit view