do you use a database or file?
when having a db:
"UPDATE `profile` SET `hobbies`='coolstuff' WHERE `user`=".$user
with a file you can do it the same way as createing it:
$f=fopen("...","w");
fwrite("hobbies:coolstuff\n");
fclose($f);
if you still have probs then post that little piece of code.