Fixed the failing architecture tests in jenkins - update and delete

please review it
thanks

Tests covered : 
tests.foreman.cli.test_architecture.TestArchitecture.test_negative_update_1
tests.foreman.cli.test_architecture.TestArchitecture.test_positive_delete

Also, attaching the output of the results after execution
https://gist.github.com/tkolhar/40ca0c7d113e768abe44
Can you move the brace above to down here and add a comma?

```python
result = Architecture.update({
    'id': new_obj['id'],
    'new-name': data,
})
```