Added recursive item updating

Fixed some minor bugs and implemented a mechanism to update an existing
item as a new batch