fix(instance): set should use local passed options.attributes rather than global options, closes #2012