Rewriting part of the profile