Update all packages/libraries

Added more function and clean up the main section