Updating to Flux Pattern and hub