update manifest
Update gradle and build tools
Return to root directory when last folder doesn't exist