Update to api.jsp