updates to allocate