update pid module to reflect rest api changes