update allocations api call