changed how gender is updated