added function to update profil of the gast