improve packages management