testing edit functionality