Added missing saveProfile to updateProfileEventListener