code: public void updateSpace(int spaceId, SpaceUpdate data) {
  		getResourceFactory().getApiResource("/space/" + spaceId)
  				.entity(data, MediaType.APPLICATION_JSON_TYPE).put();
  	}
docs: Updates the space with the given id
  
  @param spaceId
  The id of the space to update
  @param data
  The updated data of the space