Fixed profile updating.