Implemented DRY for update_subnet, updated tests
Merge pull request #85 from asadoughi/put_subnet_2

Implemented DRY for update_subnet, updated tests