UpdateSubsets function

Code and a .Rd file. No example data yet...