Update get tops track members api

1. Update algorithm and query for get tops data members api to improve the performance.
Update get tops track members api

1. Code improvements
Merge pull request #306 from Ghost141/tops_member_update

Update get tops track members api