Added edit function in index and modified show view