Adding update player functionality