modify show and create edit view