Saving documents now honour unique indexes other than _id, and will update them