update gc threshold