updated wppresource.ts