Yi - improve update command to support one-to-one cascading update
Yi - fix insert bug for many to one relationship