update ui and secure profil model