update readpsf: logical values are kept int psf structure value