Update app/fake_pir to follow pir api