added updating and deleting of exercises
added conditional printing of ID or URI