modified update profile
fixed rspec
Merge pull request #34 from wallem-group/modified_update_profile

modified update profile