Functional updating capacity and routing to show api