updating spotify pong algorhythm