Updated packages and fixed bugs