Fix logs write
Update for new connect version
Update packages fixes