added signals to update student and teacher related db fields