merge packages and versions