update

refarctor, getOnlinePlayers