most update code