Update assessApi.js