appwritereferencesdatabasesupdate-integer-attributeupdate-integer-attributeUpdate an integer attribute. Changing the default value will not update already existing documents.