do the update first