update returning/new student logic for jenzabar query