Update avcore.sh