Fixed update for empty packages.