update player controller