corected profile_name validation and added permitted parameters for account update