update player constructor in server