To edit an exercise