Update xcore.sh