Added delete and edit feature