$.data can now be a function which receive the old object as the 1st parameter