edit controller added for instructors