add func_update_mirror to install and update