updating to use nextweb api