update query by gender
fix the scroll