rewrite profile