Fixed bug in profile updater