made changes to save gender data