Updated packages, fixed connection bugs