customer sync from couchdb to mysql