split controller to model
update daily summary
update daily summary