added gui update hook to update scores promptly