Updating sync way and adding some doc