add dynamic stats from php portal