change embed to has_many
Realtime summs
Fix add_time params error