implement delete with query for StackMobModel