Renewed update code