added edit feature from show page