Implement new sync loop, upload part.