Edit and update actions and views for teachers and students