update allocat function