complite update function
complite update function