small bug corrected to update views when adding new items