diff --git a/ciscosparkapi/api/memberships.py b/ciscosparkapi/api/memberships.py
index <HASH>..<HASH> 100644
--- a/ciscosparkapi/api/memberships.py
+++ b/ciscosparkapi/api/memberships.py
@@ -260,7 +260,8 @@ class MembershipsAPI(object):
                 value = utf8(value)
             put_data[utf8(param)] = value
         # API request
-        json_obj = self.session.post('memberships', json=put_data)
+        json_obj = self.session.post('memberships/'+membershipId,
+                                     json=put_data)
         # Return a Membership object created from the response JSON data
         return Membership(json_obj)
 
diff --git a/ciscosparkapi/api/rooms.py b/ciscosparkapi/api/rooms.py
index <HASH>..<HASH> 100644
--- a/ciscosparkapi/api/rooms.py
+++ b/ciscosparkapi/api/rooms.py
@@ -229,7 +229,7 @@ class RoomsAPI(object):
                 value = utf8(value)
             put_data[utf8(param)] = value
         # API request
-        json_obj = self.session.post('rooms', json=put_data)
+        json_obj = self.session.post('rooms/'+roomId, json=put_data)
         # Return a Room object created from the response JSON data
         return Room(json_obj)
Squash bugs

Add missing ID suffixes to URLs on update methods.