updates to new grade_preference/edit.php