update/create edit view; update repo; unit test