Complete edit action for subjects controller