last update before return