Update

Updated allocation functionality