bugfixes for profile updates