update before online