updates built api.js