Updating Endpoints in the XPagesSBT app and some code