Update a transformation

Updates a transformation by its ID.