Update weAPI.js