Updated packages, fixed some bugs.