updated deposit and withdrawal ordering.