Save Allocation in DB. Not working atm!!!