updated demo program to the new input system