Update the teacher model.
The create in now able to create new entries through the update function