Update an object

Updates an object's metadata.