sync lesson to server