update before views