Edit player functionality