subitem update support

If you know more compact/readable way than doing a generateSubCallback, please let me now