updated component w/ new variables