adding the edit card get path and linking edit button