refactor update_profile_spec
Merge pull request #33 from linstula/edit_profile

refactor update_profile_spec