Update wpsresource.ts