TODO: accept both for both create & updateAttributes
TODO: accept both for both create & updateAttributes