Implemented A Real-time updating of gpa