for save sync server code