update UI and setup factory and services