update max player to config