added edit functionality to all sections