Fix the DB table for storing object data.
Sync data from server is working now. But the Sync device data to server
is not done yet.