Hi smile,
You need to update the tblDefClass aswell. It is not possible to change the column value automatically.
Once you have changed tblDefClass you have to write update query to update the records in tblStudent.
It is better instread of ClassName in tblStudent use ClassID as foreignkey in the table. So there will no need to change in tblStudent table for every record.