Update teacher is_active when rates are updated