update UI and use FactoryGirl