Improving UI, separating DAO generation from DB update