subitem update support

If you know more compact/readable way than doing a generateSubCallback, please let me now
missing semicolons here and there, lint it! :)