Merge "Use SQLite update instead of replace in UserMetadata table." into qt-dev