edit view show and index