I don't like this code. these 2 lines should be extraced into a method so that we know for sure that user object is updated when profile is created.