Major bug in insertOrUpdate() fixed :-s