modified the study session edit as there was an error