adding queryset updates and supporting tests