added edit view and controller action