removing api update sql logic from embed, adding created_at timestamp to map table, adding viewd at time to emebd, creating viewed table in schema. removing refreshed at completely