Added redirecting after updating the profile so the form gets filled with the user data also after succeeding in updating the avatar