change player actions to keyup