Fixed bug in profile updater
Merge pull request #8 from TNO/master

Fixed bug in profile updater