saved allocations to db
sync and save allocations