save method will determine whether the doc is new so that can decide insert or update
update requires paramaters