Use upsert() in ProfilerOutputDb

Change-Id: I807ee78c602b67c99530ecaab90af74410106fc7
Merge "Use upsert() in ProfilerOutputDb"