fixed a bug where updating a players team would result into 0 being inserted for the team field