update avi loading.