update to psx version 0.5
improve api demo