Update wpsgallery.ts