Updated database for saving students (Thanks Nic for the code)