Fix profile updating