Fix refreshing of profiles after PUT