fix(provider): Fixed not able to update options with an object