Documents API update