Updates args to take object

Taking an object rather than a string means we can map multiple changes