updates search to handle gender