better conditional handling fixes #17 and more updateItem tests