add edit view, update home and show views