Update statsFcApi.php

Refactoring