updates for gender and documents