[common] fixed update/upgrade task