Add edit action for teachers