fixed issue when no packages are for update