Update schema and API