Finished update logic