updated packges. fixed broken code because of upgrade