sync local websql with remote endpoint